// Author: wsfuyibing <682805@qq.com>
// Date: 2025-05-01

package setting

import (
	"gitee.com/go-wares/framework-iris/framework/src/logics"
	"github.com/kataras/iris/v12"
	"server/app/http/logics/master/setting/swiper/save"
	"server/app/http/logics/master/setting/update/arcade/address"
	"server/app/http/logics/master/setting/update/arcade/name"
)

// Controller
// 钓场管理员.
//
// @Middleware("authorizer")
// @Middleware("master")
type Controller struct{}

// // GetSwiperList
// // 轮播图列表.
// func (o *Controller) GetSwiperList(i iris.Context) {
// 	logics.Do(i, list.New)
// }
//
// // PostSwiperRemove
// // 删除轮播图.
// func (o *Controller) PostSwiperRemove(i iris.Context) {
// 	logics.Do(i, remove.New)
// }
//
// // PostSwiperUpload
// // 上传轮播图.
// func (o *Controller) PostSwiperUpload(i iris.Context) {
// 	logics.Do(i, upload.New)
// }

// PostSwiperSave
// 保存轮播图.
func (o *Controller) PostSwiperSave(i iris.Context) {
	logics.Do(i, save.New)
}

// PostUpdateArcadeAddress
// 更新钓场地址.
func (o *Controller) PostUpdateArcadeAddress(i iris.Context) {
	logics.Do(i, address.New)
}

// PostUpdateArcadeName
// 更新钓场名称.
func (o *Controller) PostUpdateArcadeName(i iris.Context) {
	logics.Do(i, name.New)
}
